package com.moetube.video.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 弹幕实体类
 * @author ccr
 * @version 1.3
 */
@Table(name = "barrage")
@Data
public class Barrage implements Serializable {
    //弹幕id
    @Id
    private Long id;
    //对应视频时间段
    private Integer time;
    //发送弹幕时间
    private Date barrageTime;
    //弹幕内容
    private String content;
    //视频ID
    private String videoId;
    //用户ID
    private String userId;
    //弹幕颜色
    private String color;
    //弹幕大小
    private String size;
    //弹幕位置
    private  String position;

    private String format;
}